import request from '@/utils/request'

//获取资源举报分页列表
export function getResInformPageList(data) {
	return request({
		method: 'get',
		url: 'tbNetReport/queryPageList',
		params: data
	})
}

//获取资源举报列表
export function getResInformList(data) {
	return request({
		method: 'get',
		url: 'tbNetReport/queryList',
		params: data
	})
}

//添加资源举报信息
export function addedResInform(data) {
	return request({
		method: 'post',
		url: 'tbNetReport/add',
		data
	})
}

//修改资源举报信息
export function batchUpdateResInform(data) {
	return request({
		method: 'post',
		url: 'tbNetReport/updateBatch',
		data
	})
}

//删除资源举报信息
export function deleteResInform(id) {
	return request({
		method: 'get',
		url: 'tbNetReport/delete/' + id
	})
}

//查看资源举报信息
export function queryResInform(id) {
	return request({
		method: 'get',
		url: 'tbNetReport/query/' + id
	})
}